package com.wn.mapper;

import com.wn.common.pojo.ScenicSpots;
import com.wn.common.pojo.Scheme;
import com.wn.common.pojo.TourGuide;

import java.util.List;

public interface SchemeMapper {
    int deleteByPrimaryKey(Scheme record);

    int insert(Scheme record);

    int insertSelective(Scheme record);

    Scheme selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Scheme record);

    int updateByPrimaryKey(Scheme record);

    List<Scheme> getSchemeList();//分页查询所有

    Scheme getSchemeItemByid(Integer id);

    //高级检索的方法
    List<Scheme> superSearch(String superSearchKeyWord);

    Integer updateSchemeStatus (Scheme record);
}
